package com.example.harkerservice.service.impl;

import com.example.hackerdao.dao.Project;
import com.example.hackerdao.mapper.ProjectMapper;
import com.example.harkerservice.service.ProjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Description：
 *
 * @Author: cw
 * CreateTime：2023-03-29
 */
@Service
public class ProjectServiceImpl implements ProjectService {

    @Resource
    ProjectMapper projectMapper;

    @Override
    public List<Project> selectAll() {
        return projectMapper.selectList(null);
    }
}
